Computer Configuration > Administrative Templates > Firefox > Permissions > Virtual Reality
Both
HKLM\Software\Policies\Mozilla\Firefox\Permissions
If this policy is enabled, access to virtual reality devices is always allowed for the origins indicated. If this policy is disabled or not configured, the default virtual reality policy is followed.